inspector: Avoid grabs for inspecting
authorMatthias Clasen <mclasen@redhat.com>
Sun, 24 Feb 2019 04:06:00 +0000 (23:06 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 24 Feb 2019 14:41:13 +0000 (09:41 -0500)
commit9861887f1a41f43c834dc4d75ddba8c5de7ad11c
tree246d96252f0f49b3e100757bde0400efd115c7ba
parent3ae31b0e79554cea4f6f79f1a54833dcd19f5835
inspector: Avoid grabs for inspecting

Instead of using a grab on a GtkInvisible, use
a hook in the GTK event propagation machinery to
get events.

The only downside of this approach is that we
lose the crosshair cursor. But we get rid of
the last use of GtkInvisible.
gtk/gtkmain.c
gtk/inspector/inspect-button.c
gtk/inspector/window.c
gtk/inspector/window.h